package com.wanmait.zaisousuo.mapper;

import com.wanmait.zaisousuo.pojo.ArticlePraise;

import java.util.List;

public interface ArticlePraiseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ArticlePraise record);

    int insertSelective(ArticlePraise record);

    ArticlePraise selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ArticlePraise record);

    int updateByPrimaryKey(ArticlePraise record);

    void insertPraiseCount(List<ArticlePraise>articlePraises);

    //删除相关收藏
    void deleteRelativePraises(Integer articleId);
}